package com.automation.ljf.exception.type;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 异常枚举
 *
 * @author lijiefeng
 * @since 2021/9/2
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum ExceptionEnums {

    ELEMENT_NOT_FOUND(1001, "元素不存在，无法定位"),
    ELEMENT_ENABLE(1002, "元素不可操作/编辑"),
    ELEMENT_DISPLAY(1003, "元素没有显示"),
    NOT_GET_JSON(1003, "无法获取json数据"),
    TEXT_NOT_EMPTY(1004, "元素显示的文本值与期望结果不符"),
    SPECIAL_ERROR(9999, "不可预知的错误");

    private Integer code;
    private String msg;

}
